package com.itheima.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

@Configuration //声明为配置类
@ComponentScan("com.itheima") //组件扫描,当前包及所有子包下带有注解的类进行扫描
public class SpringConfig {
}
